document.writeln("<!DOCTYPE html>");
document.writeln("<html>");
document.writeln("<head>");
document.writeln("  <meta charset=\"utf-8\">");
document.writeln("  <title>Layui</title>");
document.writeln("  <meta name=\"renderer\" content=\"webkit\">");
document.writeln("  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">");
document.writeln("  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\">");
document.writeln("  <link rel=\"stylesheet\" href=\"..\/layui/css/layui.css\">");
document.writeln("  <script src=\"..\/layui/layui.js\"></script>");
document.writeln("  <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->");
document.writeln("</head>");
document.writeln("<body>");
document.writeln("");
document.writeln("<ul class=\"layui-nav\" lay-filter=\"\" style=\"background-color: #212121\">");
document.writeln("  <li class=\"layui-nav-item\"><a href=\"..\/index.html\">首页</a></li>");
document.writeln("  <li class=\"layui-nav-item\">");
document.writeln("    <a href=\"javascript:;\">数据查询</a>");
document.writeln("    <dl class=\"layui-nav-child\"> <!-- 二级菜单 -->");
document.writeln("      <dd><a href=\"\/HTML\/sensor.html\">传感器数据管理</a></dd>");
document.writeln("      <dd><a href=\"\/HTML\/table.html\">自行车信息管理</a></dd>");
document.writeln("      <dd><a href=\"\/HTML\/record.html\">用车记录数据管理</a></dd>");
document.writeln("    </dl>");
document.writeln("  </li>");
document.writeln("  <li class=\"layui-nav-item\"><a href=\"\">关于我们</a></li>");
document.writeln("</ul>");
document.writeln("<br>");
// document.writeln("<script src=\"js/layui.js\" charset=\"utf-8\"></script>");
document.writeln("<script>");
document.writeln("  layui.use(\'element\', function(){");
document.writeln("    var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块");
document.writeln("");
document.writeln("    //监听导航点击");
document.writeln("    element.on(\'nav(demo)\', function(elem){");
document.writeln("      //console.log(elem)");
document.writeln("      layer.msg(elem.text());");
document.writeln("    });");
document.writeln("  });");
document.writeln("</script>");
document.writeln("");
document.writeln("</body>");
document.writeln("</html>");